package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.DUnitEnum;

public class DUnitExcution<T> extends BaseAPIExcution<T> {
    public DUnitExcution(T t, DUnitEnum dUnitEnum){
        this.data = t;
        this.status = dUnitEnum.isStatus();
        this.msg = dUnitEnum.getMsg();
    }
}
